package com.happy3w.cmds.refactor.config;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
/*
  匹配对象为完整类名
 */
public class ChangePackageItemConfigVo {
    /**
     * package 前缀
     * com.abc.def
     */
    private String from;

    /**
     * package 正则表达式，前缀和正则表达式二选一，不能同时配置
     * com\.abc\.(.*)\.bean\.(.*)ServiceImpl
     */
    private String fromRegex;

    /**
     * package的目标
     * com.abc.def.bean
     * com.def.bean.$1.$2ServiceImpl
     */
    private String to;
}
